--- cgmadness/libgrapple/socket.c.orig	2016-02-06 01:05:57.214993971 +0700
+++ cgmadness/libgrapple/socket.c	2016-02-06 01:06:07.771969910 +0700
@@ -34,6 +34,7 @@
 */
 
 #define _XOPEN_SOURCE 500
+#define NI_NUMERICHOST	0x0008
 
 #include "grapple_configure_substitute.h"
 
